#!/bin/bash

# 切换到工作目录
cd /kaggle/working/

# 创建目录
mkdir -p ./logs
mkdir -p ./mypths

# 切换到模型目录
cd /kaggle/working/tamperdetection/models

# 复制文件和目录
cp '../qt_table.pk' './'
cp -r '/kaggle/input/mytext/checkpoints' './pths'

# 检查目录是否存在
if [ ! -d "pths" ]; then
  echo "Directory pths does not exist."
  exit 1
fi

# 移动文件
mv pths/vph_imagenet.pt ./
mv pths/swin_imagenet.pt ./

# 复制目录
cp -r '../pks' './'
